package com.example.myapplication.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.DaoException;
import com.speedystone.greendaodemo.db.DaoSession;
import com.speedystone.greendaodemo.db.UserDao;

/**
 * 作者：李祥
 * 邮箱：499194689@qq.com
 */
@Entity
public class User {
    @Id(autoincrement = true)
    private Long userid;

    private String name;

    private int age;

    @Generated(hash = 40528830)
    public User(Long userid, String name, int age) {
        this.userid = userid;
        this.name = name;
        this.age = age;
    }

    @Generated(hash = 586692638)
    public User() {
    }

    public Long getUserid() {
        return this.userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return this.age;
    }

    public void setAge(int age) {
        this.age = age;
    }

   
}
